package com.martian.pojo.form;

import lombok.Data;

import javax.validation.constraints.Pattern;
import java.util.List;

/**
 * @author martian
 * @version V1.0.0
 * @Description
 * @date 2023-05-28 20:27
 */
@Data
public class FrozenUserForm{
    private List<Integer> userIds;
//    这里的校验并没有生效
    @Pattern(message = "tag只能为0或1",regexp = "0|1")
    private String frozenTag;
}
